#ifndef DEF_NODE
#define DEF_NODE

#include <iostream>

using namespace std;

typedef int Color;

class Node {
private:
    int value;
    Color color;
    
public:
    Node();
    Node(int v, Color c = 0);
    Node(const Node &n);
    ~Node();
    int setValue(int value);
    int getValue() const;
    Color setColor(int color);
    Color getColor() const;

};

ostream & operator <<(ostream&, const Node &n);
bool operator ==(const Node &a, const Node &b);

#endif
